#!/bin/bash
#Author: Geert Geurts, geert.geurts@hrz.tu-darmstadt.de
MAX_NUMBER_OF_INSTALL=20
IP=$1
if [ "$(wc -l /var/spool/tuda_install.status|awk '{print $1}')" -lt "$MAX_NUMBER_OF_INSTALL" ]; then
	echo $IP >>/var/spool/tuda_install.status
	echo "commit"
else
	echo "wait"
fi
